/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ActionForm;

import java.util.ArrayList;
import java.util.Collection;
import javax.servlet.http.HttpServletRequest;
import org.apache.struts.action.ActionMapping;

/**
 *
 * @author Xatuuu
 */
public class BuscarMesaActionForm extends org.apache.struts.action.ActionForm {

    private String strCodigoMesa;
    private String strNombreMesa;
    private String strCodigoCliente;
    private String strNombreCliente;
    private Collection arrClientesxMesa;


    public String getStrCodigoCliente() {
        return strCodigoCliente;
    }

    public void setStrCodigoCliente(String intCodigoCliente) {
        this.strCodigoCliente = intCodigoCliente;
    }

    public String getStrCodigoMesa() {
        return strCodigoMesa;
    }

    public void setStrCodigoMesa(String intCodigoMesa) {
        this.strCodigoMesa = intCodigoMesa;
    }

    public String getStrNombreCliente() {
        return strNombreCliente;
    }

    public void setStrNombreCliente(String strNombreCliente) {
        this.strNombreCliente = strNombreCliente;
    }

    public String getStrNombreMesa() {
        return strNombreMesa;
    }

    public void setStrNombreMesa(String strNombreMesa) {
        this.strNombreMesa = strNombreMesa;
    }
    public Collection getArrClientesxMesa() {
        return arrClientesxMesa;
    }

    public void setArrClientesxMesa(Collection arrClientesxMesa) {
        this.arrClientesxMesa = arrClientesxMesa;
    }

    public void reset(ActionMapping arg0, HttpServletRequest arg1) {
        arrClientesxMesa = new ArrayList();
    }
    /**
     *
     */
//    public BuscarMesaActionForm() {
//        super();
//    // TODO Auto-generated constructor stub
//    }

    /**
     * This is the action called from the Struts framework.
     * @param mapping The ActionMapping used to select this instance.
     * @param request The HTTP Request we are processing.
     * @return
     */
//    public ActionErrors validate(ActionMapping mapping, HttpServletRequest request) {
////        ActionErrors errors = new ActionErrors();
////        if (getName() == null || getName().length() < 1) {
////            errors.add("name", new ActionMessage("error.name.required"));
////            // TODO: add 'error.name.required' key to your resources
////        }
//        return errors;
//    }
}
